/*
 * TepcoMeter:TepcoMetterWidgetProvider.java
 * Copyright © 2011 ho9ho9 All Rights Reserved.
 */
package com.ho9ho9.tepcometer;

import android.appwidget.AppWidgetManager;
import android.appwidget.AppWidgetProvider;
import android.content.Context;
import android.content.Intent;

/**
 * TepcoMetterWidgetProviderクラス.
 * @author ho9ho9
 */
public class TepcoMetterWidgetProvider extends AppWidgetProvider {
	
	@Override
	public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) {
		// 既存処理開始
		super.onUpdate(context, appWidgetManager, appWidgetIds);
		// サービスからWidget更新処理
		Intent serviceIntent = new Intent(context, TepcoMetterWidgetService.class);
		context.startService(serviceIntent);
	}
}
